﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CaffeeBuzz_WinForm.Cafe
{
    public class Item
    {
        protected string description;
        protected string name;
        protected double price;

        public Item() { }
        public Item(string name, string description, double price)
        {
            this.description = description;
            this.name = name;
            this.price = price;
        }
        public Item(Item b)
        {
            this.description = b.Description;
            this.name = b.Name;
            this.price = b.Price;
        }

        public virtual double Price { get{return price;} }
        public virtual string Name { get{return name;} }
        public virtual string Description { get{return description;} }
        public virtual Item Clone() { return new Item(this); }
        
    }
}
